<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Detail: guild/guild_loader.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Detail
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c92f8b0c436b7cf5413a5c6644bc0ce0.html">guild</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">guild_loader.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>公会加载  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;functional&gt;</code><br />
<code>#include &quot;<a class="el" href="guild_8h_source.html">guild/guild.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="service__redis__fwd_8hpp_source.html">redis/service_redis_fwd.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="util_8hpp_source.html">util/util.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="fwd_8h_source.html">fwd.h</a>&quot;</code><br />
</div>
<p><a href="guild__loader_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ac670c3ff284c7abf0b60dc25440dbeee"><td class="memItemLeft" align="right" valign="top"><a id="ac670c3ff284c7abf0b60dc25440dbeee"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="guild__loader_8hpp.html#ac670c3ff284c7abf0b60dc25440dbeee">guild_service::detail::LoadAllGuildIdListType</a> = std::vector&lt; guild_id_type &gt;</td></tr>
<tr class="memdesc:ac670c3ff284c7abf0b60dc25440dbeee"><td class="mdescLeft">&#160;</td><td class="mdescRight">加载所有公会返回结果容器 <br /></td></tr>
<tr class="separator:ac670c3ff284c7abf0b60dc25440dbeee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2309e16838a8911dab34058928feb21"><td class="memItemLeft" align="right" valign="top"><a id="aa2309e16838a8911dab34058928feb21"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="guild__loader_8hpp.html#aa2309e16838a8911dab34058928feb21">guild_service::detail::LoadAllGuildIdCallbackType</a> = std::function&lt; void(const LoadAllGuildIdListType &amp;)&gt;</td></tr>
<tr class="memdesc:aa2309e16838a8911dab34058928feb21"><td class="mdescLeft">&#160;</td><td class="mdescRight">加载所有公会回调函数类型 <br /></td></tr>
<tr class="separator:aa2309e16838a8911dab34058928feb21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47987cdfca583399eb17b8fc6f335881"><td class="memItemLeft" align="right" valign="top"><a id="a47987cdfca583399eb17b8fc6f335881"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>guild_service::detail::LoadAllGuildIdStrListType</b> = std::function&lt; void(const std::vector&lt; std::string &gt; &amp;)&gt;</td></tr>
<tr class="separator:a47987cdfca583399eb17b8fc6f335881"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a886c4af2b1a2a73ca33e22d32f8c9142"><td class="memItemLeft" align="right" valign="top"><a id="a886c4af2b1a2a73ca33e22d32f8c9142"></a>
constexpr char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="guild__loader_8hpp.html#a886c4af2b1a2a73ca33e22d32f8c9142">guild_service::detail::kQueryGuildIdCommand</a> [] = &quot;keys guild:*&quot;</td></tr>
<tr class="memdesc:a886c4af2b1a2a73ca33e22d32f8c9142"><td class="mdescLeft">&#160;</td><td class="mdescRight">查询公会id的命令 <br /></td></tr>
<tr class="separator:a886c4af2b1a2a73ca33e22d32f8c9142"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b560fce65ea9880c6cba10867dd2a70"><td class="memItemLeft" align="right" valign="top">constexpr char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="guild__loader_8hpp.html#a2b560fce65ea9880c6cba10867dd2a70">guild_service::detail::kLoadGuildLastIdKey</a> []</td></tr>
<tr class="memdesc:a2b560fce65ea9880c6cba10867dd2a70"><td class="mdescLeft">&#160;</td><td class="mdescRight">加载公会最后创建id的键  <a href="guild__loader_8hpp.html#a2b560fce65ea9880c6cba10867dd2a70">More...</a><br /></td></tr>
<tr class="separator:a2b560fce65ea9880c6cba10867dd2a70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7a0f9444c0e68de6ed22b1ec0e3876a"><td class="memItemLeft" align="right" valign="top">constexpr char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="guild__loader_8hpp.html#af7a0f9444c0e68de6ed22b1ec0e3876a">guild_service::detail::kLoadGuildIdByRoleKeyPrefix</a> []</td></tr>
<tr class="memdesc:af7a0f9444c0e68de6ed22b1ec0e3876a"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取公会id的键前缀  <a href="guild__loader_8hpp.html#af7a0f9444c0e68de6ed22b1ec0e3876a">More...</a><br /></td></tr>
<tr class="separator:af7a0f9444c0e68de6ed22b1ec0e3876a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6884a5b43d251fd6b7c0fdb5c9765f8"><td class="memItemLeft" align="right" valign="top"><a id="af6884a5b43d251fd6b7c0fdb5c9765f8"></a>
constexpr guild_id_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="guild__loader_8hpp.html#af6884a5b43d251fd6b7c0fdb5c9765f8">guild_service::detail::kGuildBeginId</a> = 1000</td></tr>
<tr class="memdesc:af6884a5b43d251fd6b7c0fdb5c9765f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">公会id初始值 <br /></td></tr>
<tr class="separator:af6884a5b43d251fd6b7c0fdb5c9765f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>公会加载 </p>
<dl class="section date"><dt>Date</dt><dd>2021/05/12 20:46</dd></dl>
<dl class="section author"><dt>Author</dt><dd>harrybao (<a href="#" onclick="location.href='mai'+'lto:'+'har'+'ry'+'bao'+'@1'+'23u'+'.c'+'om'; return false;">harry<span style="display: none;">.nosp@m.</span>bao@<span style="display: none;">.nosp@m.</span>123u.<span style="display: none;">.nosp@m.</span>com</a>)</dd></dl>
<dl class="section version"><dt>Version</dt><dd>v1.0.0</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright © 2021 All Rights Reserved 上海欢乐互娱网络科技有限公司</dd></dl>
<dl class="section user"><dt>history:</dt><dd><table class="doxtable">
<tr>
<th>Date </th><th>Version </th><th>Author </th><th>Description </th></tr>
<tr>
<td>2021/05/12 20:46 </td><td>1.0.0 </td><td>harrybao </td><td>创建初始版本 </td></tr>
</table>
</dd></dl>
</div><h2 class="groupheader">Variable Documentation</h2>
<a id="af7a0f9444c0e68de6ed22b1ec0e3876a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7a0f9444c0e68de6ed22b1ec0e3876a">&#9670;&nbsp;</a></span>kLoadGuildIdByRoleKeyPrefix</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr char guild_service::detail::kLoadGuildIdByRoleKeyPrefix[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line">    <span class="stringliteral">&quot;role2guild:&quot;</span></div>
</div><!-- fragment -->
<p>获取公会id的键前缀 </p>

</div>
</div>
<a id="a2b560fce65ea9880c6cba10867dd2a70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b560fce65ea9880c6cba10867dd2a70">&#9670;&nbsp;</a></span>kLoadGuildLastIdKey</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr char guild_service::detail::kLoadGuildLastIdKey[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line">    <span class="stringliteral">&quot;guildlastid&quot;</span></div>
</div><!-- fragment -->
<p>加载公会最后创建id的键 </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
